package tt.dz.egobus.servicemanager.business.distance;

import tt.dz.egobus.servicemanager.bean.BusinessCode;
import tt.dz.egobus.servicemanager.business.point.Point;

/**
 * @author Anson
 * @date 17-3-30
 * @name 以天为服务的最大距离控制
 * @since 1.0.3
 */
public class DayServiceMaxOverAlgorithm implements MaxOverAlgorithm {

    private static final BusinessCode BUSINESS_CODE = BusinessCode.DAY;

    private static final String ID = String.valueOf(BUSINESS_CODE.getCode());

    private volatile boolean isLoaded = false;

    @Override
    public String id() {
        return ID;
    }

    @Override
    public int businessCode() {
        return BUSINESS_CODE.getCode();
    }

    @Override
    public boolean isOverMaxDistance(Point startPoint, Point endPoint) {
        return false;
    }

    @Override
    public double maxDistance() {
        return NOT_LIMIT;
    }


}
